package com.cloud.common.enums;

/**
 * 返回状态枚举
 *
 * @author yzj
 */
public enum ReturnStatus {

    OK(0, "正常"),
    CLOSURE(1, "关闭");

    private final Integer code;
    private final String info;

    ReturnStatus(Integer code, String info) {
        this.code = code;
        this.info = info;
    }

    public Integer getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }

}
